package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Others;
import org.hxyjs.entity.Others;
import org.hxyjs.entity.Others;
import org.hxyjs.page.PageInfo;

public interface OthersService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Others> getAllOtherss() throws Exception;
    /**
     *  查询学生带选课
     * @param ono
     * @return
     */

    public DTO<Others> deleteOthersByOno(String ono) throws Exception;
    /**
     *  删除学生
     * @param others
     * @return
     */
    public DTO<Others> updateOthersByOno(Others others)  throws Exception;
    /**
     *  增加学生
     * @param others
     * @return
     */
    public DTO<Others> addOthersByOno(Others others)  throws Exception;

    public DTO<Others> getOthersByOno(String ono)  throws Exception;
    public DTO<Others> getOthersByPage(PageInfo pageInfo) throws Exception;


}
